﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FA.Library.Util;

namespace FA.Library.Sim
{
    /// <summary>
    /// Represents an event that occurred on a simulator.
    /// </summary>
    public class SimEvent
    {
        /// <summary>
        /// The sender of the event.
        /// </summary>
        public object Sender { get; set; }

        /// <summary>
        /// The type of event.
        /// </summary>
        public SimEventType Type { get; set; }

        /// <summary>
        /// The parameter for this event.
        /// </summary>
        public SimEventParam Params { get; set; }

        public SimEvent(object sender, SimEventType type, SimEventParam param = null)
        {
            Sender = sender;
            Type = type;
            Params = param;
        }
    }
}
